#!/bin/bash

#
# Convert an image cropping it to a square
#
# ----------
# -- Args --
# ----------

convert -page +0+0 - -matte \( +clone -background black -shadow 60x1+2+2 \) +swap -background none -mosaic "${1:-png}":-
